package com.hp.bon.sgw.bean;

public class SensitivtyCfg {
	private String level;
	private String field;
	private String hostId;
	private String serviceContextId;
	private Long serivceId;
	private String serviceName;
    private String safeLevel;
	
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public String getField() {
		return field;
	}
	public void setField(String field) {
		this.field = field;
	}
	public String getServiceContextId() {
		return serviceContextId;
	}
	public void setServiceContextId(String serviceContextId) {
		this.serviceContextId = serviceContextId;
	}
	public Long getSerivceId() {
		return serivceId;
	}
	public void setSerivceId(Long serivceId) {
		this.serivceId = serivceId;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	public String getHostId() {
		return hostId;
	}
	public void setHostId(String hostId) {
		this.hostId = hostId;
	}
	
	public String getCfgKey(){
		return getCfgKey(this.hostId, this.serviceContextId);
	}
	
	public static String getCfgKey(String hostId, String serviceContextId){
		return String.format("<%s><%s>", hostId, serviceContextId);
	}
	
	public String getSafeLevel() {
		return safeLevel;
	}

	public void setSafeLevel(String safeLevel) {
		this.safeLevel = safeLevel;
	}
}
